package me.alide.modules.survey.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import me.alide.modules.survey.entity.OrgInfoEntity;

import java.util.List;

/**
 * @author: Anzhen
 * @description:
 * @PROJECT_NAME: alide
 * @create: 2021-07-25 14:32
 **/
public interface OrgInfoService {

    int save(OrgInfoEntity OrgInfoEntity);

    int delete(Long[] ids);

    int update(OrgInfoEntity OrgInfoEntity);

    List<OrgInfoEntity> queryAll();

    OrgInfoEntity queryById(Long id);

    List<OrgInfoEntity> queryByUserId(Long userId);

    IPage<OrgInfoEntity> search(String keyword, int page, int pageSize);
}
